const logo = {
    get: {
        name: '获取logo',
        type: 'get',
        path: '/header/logo/get',
    },
    edit: {
        name: '修改logo',
        type: 'post',
        path: '/header/logo/edit'
    }
}
const header = {
    get: {
        name: '获取header所有数据',
        type: 'get',
        path: '/header/all/get'
    },
    search: {
        name: '搜索功能',
        type: 'post',
        path: '/header/search'
    }
}
const user = {
    login: {
        name: '登录博客',
        type: 'post',
        path: '/user/login'
    },
    logout: {
        name: '退出博客',
        type: 'post',
        path: '/user/logout'
    },
    register: {
        name: '注册用户',
        type: 'post',
        path: '/user/register'
    },
    reset: {
        name: '重置密码',
        type: 'post',
        path: '/user/reset'
    },
    info: {
        name: '获取信息',
        type: 'get',
        path: '/user/info'
    },
    getMessage: {
        name: '获取最近信息',
        type: 'get',
        path: '/user/message/get'
    },
    getDetail: {
        name: '获取用户详细信息',
        type: 'get',
        path: '/user/detail'
    },
    changeFriend: {
        name: '切换朋友关系',
        type: 'get',
        path: '/friend/change'
    },
    fansInfo: {
        name: '获取粉丝列表',
        type: 'get',
        path: '/user/fans'
    },
    likesInfo: {
        name: '获取关注列表列表',
        type: 'get',
        path: '/user/likes'
    },
    update: {
        name: '修改用户信息',
        type: 'post',
        path: '/user/update'
    },
    users: {
        name: '用户集',
        type: 'post',
        path: '/user/ids'
    }
}
const message = {
    getMessages: {
        name: '获取通知',
        type: 'post',
        path: '/message/list'
    },
    read: {
        name: '阅读通知',
        type: 'get',
        path: '/message/read'
    },
    delete: {
        name: '删除通知',
        type: 'get',
        path: '/message/delete'
    },
    push: {
        name: '推送通知',
        type: 'get',
        path: '/message/push'
    }
}
export default { logo, header, user, message }